package com.dataseek.iot.mysql.service;


import com.baomidou.mybatisplus.extension.service.IService;
import com.dataseek.iot.mysql.entity.User;
import com.dataseek.iot.redis.cache.MybatisPlusRedisCache;
import org.apache.ibatis.annotations.CacheNamespace;


/**
 * <p>
 *  服务类
 * </p>
 *
 * @author cc
 * @since 2021-09-05
 */
@CacheNamespace(implementation = MybatisPlusRedisCache.class, eviction = MybatisPlusRedisCache.class)
public interface IUserService extends IService<User> {
    User findByUsername(String username);
}
